package com.jerry.logback;

import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Logback测试
 *
 * @author Jerry
 * @since 2024/11/16 15:19
 */
public class LogbackTest {

    public static final Logger LOGGER = LoggerFactory.getLogger(LogbackTest.class);

    @Test
    public void testQuick() {
        LOGGER.error("error");
        LOGGER.warn("warn");
        LOGGER.info("info");
        // 默认级别是debug
        LOGGER.debug("debug");
        LOGGER.trace("trace");
    }
}
